package com.example.springmybatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import com.example.springmybatis.entity.Classlist;

import java.util.List;

@Mapper
public interface Classlistmapper {

    @Select("select title,image_url from banners")
    List<Classlist> selectAll();
}
